package org.example.service;

import org.example.entity.Dept;

import java.util.List;

public interface DeptService {

    List<Dept> listAll();

    void deleteDeptById(Integer id);

    void addDeptWithDept(Dept dept);


    Dept getInfo(Integer id);
//修改部门信息
    void update(Dept dept);
}
